<?php
/**
 *
 *
 */
 
$s = (include 'app/extra/web.php');
if ($s['BUG']==1) {
	$my= true;
} else {
	$my=false;
}

if ($s['WEIJINGTAI']==1) {
	$or= "/";
} else {
	$or= "/index.php/";
}
return [
    'app_debug' =>  $my,
    'view_replace_str' => [
    	'*URL*/' => WEB_URL . ''.$or.'',
    	'*ADMIN*' => WEB_URL . '/public',
    	'*PC*' => WEB_URL . '/app/template/pc/'.$s['WEB'].'/public',
    	'*WAP*' => WEB_URL . '/app/template/wap/'.$s['WAP'].'/public',
    	],
    'log'=> [
        'type'  => 'test',
        'level' => [],
    ],
   'pathinfo_depr'          => '_',
   'session'                => [
        'prefix'         => 'index',
        'auto_start'     => true,
         'expire'=>86400*30,//过期时间
    ],
    //关闭模板缓存
   'TMPL_CACHE_ON'=>false,  
   'HTML_CACHE_ON'=>false,

];

 
